/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.ugent.medirem.persistence.entity.details;

import java.util.Date;

/**
 *
 * @author Thomas Roelens
 */
public class MeasurementDetails {

    private Long id;
    private String type;
    private String unit;
    private Long typeId;
    private double measurementValue;
    private Date dateTaken;

    public MeasurementDetails() {}

    public MeasurementDetails(Long id, String type, String unit, double measurementValue, Date dateTaken) {
        this.id = id;
        this.type = type;
        this.unit = unit;
        this.measurementValue = measurementValue;
        this.dateTaken = dateTaken;
    }

    public MeasurementDetails(String type, double measurementValue, Date dateTaken) {
        this.type = type;
        this.measurementValue = measurementValue;
        this.dateTaken = dateTaken;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
    
    public Date getDateTaken() {
        return dateTaken;
    }

    public void setDateTaken(Date dateTaken) {
        this.dateTaken = dateTaken;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public double getMeasurementValue() {
        return measurementValue;
    }

    public void setMeasurementValue(double measurementValue) {
        this.measurementValue = measurementValue;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    
}
